package com.hospital.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hospital.configure.Result;
import com.hospital.entity.Medicine;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author WuLiting
 * @since 2021-03-24
 */
public interface MedicineService extends IService<Medicine> {

    Result<Medicine> updateMedicine(Medicine medicine);

    Result<Medicine> delMedicine(Medicine medicine);

    Result<Medicine> batchDelMedicine(Medicine medicine);

    Result<Medicine> queryMedicine(Medicine medicine);

    Result<Medicine> queryMedicineByPage(Medicine medicine);

    Result<Medicine> queryMedicineById(Medicine medicine);

}
